<?php

return [

	[
		'cid' => 1,
		'name' => '全站搜索',
		'uri' => '/search',
		'method' => 'POST',
		'isAuth' => false,
		'params' => [
			["name"=>"keyword", "necessary"=>true, "type"=>"string", "default"=>"微钓", "intro"=>"搜索词"],
			["name"=>"offset", "necessary"=>true, "type"=>"int", "default"=>"0", "intro"=>"offset"],
			["name"=>"limit", "necessary"=>true, "type"=>"int", "default"=>"20", "intro"=>"limit"],
			["name"=>"scope", "necessary"=>true, "type"=>"int", "default"=>"0", "intro"=>"搜索范围"],
		]
	],
	
	[
		'cid' => 1,
		'name' => '搜索提示',
		'uri' => '/keyword/tips',
		'method' => 'GET',
		'isAuth' => false,
		'params' => [
			["name"=>"keyword", "necessary"=>true, "type"=>"string", "default"=>"", "intro"=>"搜索词"],
			["name"=>"limit", "necessary"=>true, "type"=>"string", "default"=>"5", "intro"=>"数量"],
		]
	],
	
	[
		'cid' => 2,
		'name' => '热搜词库',
		'uri' => '/keyword/search',
		'method' => 'GET',
		'isAuth' => false,
		'params' => [
			["name"=>"grant_type", "necessary"=>true, "type"=>"string", "default"=>"password", "intro"=>""],
			["name"=>"username", "necessary"=>true, "type"=>"string", "default"=>"18618353136", "intro"=>""],
			["name"=>"password", "necessary"=>true, "type"=>"string", "default"=>"", "intro"=>""],
			["name"=>"client_id", "necessary"=>true, "type"=>"string", "default"=>"d813272ec72a5ad7", "intro"=>""],
		]
	],
	
];



?>